package gsw.common.login.loginFinger;

import android.content.Context;
import android.security.keystore.KeyProperties;
import android.support.v4.hardware.fingerprint.FingerprintManagerCompat;
import android.support.v4.os.CancellationSignal;

import java.security.KeyStore;

import javax.crypto.Cipher;
import javax.crypto.SecretKey;

import gsw.tool.common.ToolShow;

/**
 * 指纹登录回调接口
 */
public interface LoginFingerListener {

    //指纹识别错误
    public void onAuthenticationError(int errMsgId, CharSequence errString);

    //指纹识别提示
    public void onAuthenticationHelp(int helpMsgId, CharSequence helpString);

    //指纹识别成功
    public void onAuthenticationSucceeded(FingerprintManagerCompat.AuthenticationResult result);

    //指纹识别识别
    public void onAuthenticationFailed();
}
